<#include "header.htm"/>

<form action='${JForumContext.encodeURL("/jforum")}' method="post"
	name="login" id="login" accept-charset="${encoding}">
	<input type="hidden" name="module" value="user" /> <input
		type="hidden" name="action" value="validateLogin" /> 
		<#if returnPath?exists> 
		   <input type="hidden" name="returnPath"	value="${returnPath?html}" /> 
		</#if>



	<div class="panel">
		<div class="inner">
			<span class="corners-top"><span></span></span>

			<div class="content">
				<h2>${I18n.getMessage("ForumBase.login")}</h2>

				<fieldset class="fields1">
					<#if invalidLogin?exists>
					<div class="error">${I18n.getMessage("Login.invalidLogin")}</div>
					</#if>

					<dl>
						<dt>
							<label for="username">${I18n.getMessage("Login.user")}:</label>
						</dt>
						<dd>
							<input type="text" tabindex="1" name="username" id="username"
								maxlength="40" size="25" value="" class="inputbox autowidth" />
						</dd>
					</dl>
					<dl>
						<dt>
							<label for="password">${I18n.getMessage("Login.password")}:</label>
						</dt>
						<dd>
							<input type="password" tabindex="2" id="password" name="password"
								maxlength="25" size="25" class="inputbox autowidth" />
						</dd>

					</dl>
					<dl>
						<dd>
							<a href='${JForumContext.encodeURL("/user/lostPassword")}'>${I18n.getMessage("Login.lostPassword")}</a>
						</dd>
						<dd>
							<a href='${JForumContext.encodeURL("/user/activateManual")}'>${I18n.getMessage("ActivateAccount.activate")}</a>
						</dd>
					</dl>

					<#if autoLoginEnabled>
					<dl>
						<dd>
							<label for="autologin"><input type="checkbox"
								name="autologin" id="autologin" tabindex="4" />
								${I18n.getMessage("Login.autoLogon")}</label>
						</dd>
					</dl>
					</#if>

					<dl>
						<dt>&nbsp;</dt>
						<dd>
							<input type="hidden" name="redirect" /> <input type="submit"
								name="login" tabindex="6" value='${I18n.getMessage("Login.enter")}' class="button1" />
						</dd>
					</dl>


				</fieldset>
			</div>
			<span class="corners-bottom"><span></span></span>
		</div>
	</div>
	<div class="panel">
		<div class="inner">
			<span class="corners-top"><span></span></span>

			<div class="content">
				<h3>${I18n.getMessage("ForumBase.register")}</h3>
				<p>${I18n.getMessage("User.RegistrationMessage")}</p>
				<hr class="dashed" />
				<p>
					<a href='${JForumContext.encodeURL("/user/insert")}' class="button2">${I18n.getMessage("ForumBase.register")}</a>
				</p>
			</div>

			<span class="corners-bottom"><span></span></span>
		</div>
	</div>


</form>







<#include "bottom.htm"/>
